﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ReservoirManger.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>主页</title>
    <style>
        #GridView1 {
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <a href="Record.aspx">记录页</a>
            <a href="Reporting.aspx">报备页</a>                    
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="85%">
                <Columns>
                    <asp:BoundField DataField="Id" HeaderText="编号" />
                    <asp:BoundField DataField="UserId" HeaderText="用户编号" />
                    <asp:BoundField DataField="District" HeaderText="所在地区" />
                    <asp:BoundField DataField="Name" HeaderText="水库名称" />
                    <asp:BoundField DataField="Area" HeaderText="水域面积(公里²)" />
                    <asp:BoundField DataField="Storage" HeaderText="蓄水量(亿 m³) " />
                    <asp:BoundField DataField="Functional" HeaderText="功能" />
                    <asp:BoundField DataField="Maximum" HeaderText="最高水位(m) " />
                    <asp:BoundField DataField="WaterLevel" HeaderText="当前水位(m) " />
                    <asp:BoundField DataField="Remarks" HeaderText="备注" />
                    <asp:BoundField DataField="CreationTime" DataFormatString="{0:yyyy-MM-dd hh:mm:ss}" HeaderText="创建时间" />
                </Columns>
            </asp:GridView>
        </div>
    </form>
</body>
</html>
